'use client'
import React from "react";
import style from "./index.module.scss";
interface ListPopProps {
    options: string[]
}
export default function MorePop(props: ListPopProps) {
    const { options } = props

    const handleClick = (option: string) => {
        console.log(option);
    }
    return (<div className={style['listPopContainer']}>
        {options.map((option: string, index: number) => <p key={index} className={style['option']} onClick={() => handleClick(option)}>{option}</p>)}
    </div>)
}